home *** CD-ROM | disk | FTP | other *** search
- Stage.showMenu = false;
- stop();
- var frozen = true;
- var psy = 100;
- psyche.enemyPsy = 100;
- psyche.spaceRdy = true;
- psyche.onEnterFrame = function()
- {
- if(!frozen)
- {
- psy -= 0.12;
- if(Key.isDown(32))
- {
- if(this.spaceRdy)
- {
- psy++;
- this.spaceRdy = false;
- }
- }
- else
- {
- this.spaceRdy = true;
- }
- this.psy1._xscale = psy;
- this.psy2._xscale = 200 - psy;
- }
- };
- count.timeLimit = 8000;
- count.secsLeft = 8;
- count.startTime = getTimer();
- count.onEnterFrame = function()
- {
- this.currentTime = getTimer() - this.startTime;
- this.remainingTime = this.timeLimit - this.currentTime;
- if(this.remainingTime < this.secsLeft * 1000)
- {
- this.gotoAndPlay("num" + this.secsLeft);
- this.secsLeft = this.secsLeft - 1;
- }
- };
-